import ajax from '@/utils/request'


export function goodsListFn({ categoryId, goodsName, page, sortType = 'all', sortPrice = 0 }) {
  return ajax({
    url: '/goods/list',
    data: {
      categoryId,
      goodsName,
      page,
      sortType,
      sortPrice


    }

  })
}
